#ifndef __LORA_H
#define __LORA_H

#define LORA_CMD_GET_PARAM				0X01
#define LORA_CMD_SET_PARAM				0X02
#define LORA_CMD_GET_INFO					0X03
#define LORA_CMD_UPLOAD_INFO			0X04
#define LORA_CMD_UPLOAD_ACK				0X84
#define LORA_CMD_SET_SWITCH				0X05
#define LORA_CMD_PASSTHROUGH_SEND	0X06
#define LORA_CMD_PASSTHROUGH_ACK	0X86

#include "platform.h"
#include "radio.h"
#include "sx1276.h"
#include "sx1276-Hal.h"
#include "sx1276-LoRa.h"
#include "sx1276-LoRaMisc.h"
extern tRadioDriver *radio;


void lora_init(void);
void lora_chChange(void);
uint8_t lora_putSendQueue(uint8_t *buf,uint8_t len);
uint8_t lora_cmd_AckPassThrogh(uint8_t *buf,uint8_t len);

#endif

